//
//  BKXEmotion.swift
//  微博
//
//  Created by 田凯 on 16/4/26.
//  Copyright © 2016年 田凯. All rights reserved.
//

import UIKit

class BKXEmotion: NSObject {
    //16进制字符窜
    var code: String?
    // 1 为 emoji 表情
    var type: String?{
        didSet{
            if type == "0"{
                isEmoji = false
            }else{
                isEmoji = true
            }
        }
    }

    var chs: String?
    var png: String?
    var isEmoji: Bool = false

    //kvc 赋值
    init(dict: [String: AnyObject]){
        
        super.init()
        setValuesForKeysWithDictionary(dict)
    
    
    }
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
    
    
}
